const express = require("express");
const r = express.Router();
const pool = require('../pool');
// 发布房源
r.post('/add', (req, res, next) => {
    let obj = req.body;
    sql = `INSERT INTO house set ?`
    pool.query(sql, [obj], (err, result) => {

    })
})